package com.dcbeida.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by hp on 2016/7/29.
 */
public class User implements Serializable {


    /**
     * address : ☺️
     * customerservice : {"createtime":"2017-10-23 00:00:00","customerserviceid":10,"email":"uuu","name":" ","phone":"","qq":"123","weixin":"123df"}
     * shopid : 165
     * shopname : 仁和药房网（北京）医药科技有限公
     * status : 1
     * tel : 0571-66666666123
     * truename : 啊
     * uid : 169
     * user : {"address":"☺️","id":169,"mobile":"","regioncode":"北京市,通州区","shopid":165,"shopname":"仁和药房网（北京）医药科技有限公","truename":"啊","uid":169,"username":"test"}
     * username : test
     */

    private String address;
    private CustomerserviceBean customerservice;
    private String shopid;
    private String shopname;
    private String status;
    private String tel;
    private String truename;
    private String uid;
    private UserBean user;
    private String username;
    @SerializedName("Token")
    private String token;
    @SerializedName("Type")
    private int type;//0主账户   1店员

    public String getToken() {
        return token;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public CustomerserviceBean getCustomerservice() {
        return customerservice;
    }

    public void setCustomerservice(CustomerserviceBean customerservice) {
        this.customerservice = customerservice;
    }

    public String getShopid() {
        return shopid;
    }

    public void setShopid(String shopid) {
        this.shopid = shopid;
    }

    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public static class CustomerserviceBean {
        /**
         * createtime : 2017-10-23 00:00:00
         * customerserviceid : 10
         * email : uuu
         * name :
         * phone :
         * qq : 123
         * weixin : 123df
         */

        private String createtime;
        private String customerserviceid;
        private String email;
        private String name;
        private String phone;
        private String qq;
        private String weixin;

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public String getCustomerserviceid() {
            return customerserviceid;
        }

        public void setCustomerserviceid(String customerserviceid) {
            this.customerserviceid = customerserviceid;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getQq() {
            return qq;
        }

        public void setQq(String qq) {
            this.qq = qq;
        }

        public String getWeixin() {
            return weixin;
        }

        public void setWeixin(String weixin) {
            this.weixin = weixin;
        }
    }

    public static class UserBean {
        /**
         * address : ☺️
         * id : 169
         * mobile :
         * regioncode : 北京市,通州区
         * shopid : 165
         * shopname : 仁和药房网（北京）医药科技有限公
         * truename : 啊
         * uid : 169
         * username : test
         */

        private String address;
        private String id;
        private String mobile;
        private String regioncode;
        private String shopid;
        private String shopname;
        private String truename;
        private String uid;
        private String username;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getRegioncode() {
            return regioncode;
        }

        public void setRegioncode(String regioncode) {
            this.regioncode = regioncode;
        }

        public String getShopid() {
            return shopid;
        }

        public void setShopid(String shopid) {
            this.shopid = shopid;
        }

        public String getShopname() {
            return shopname;
        }

        public void setShopname(String shopname) {
            this.shopname = shopname;
        }

        public String getTruename() {
            return truename;
        }

        public void setTruename(String truename) {
            this.truename = truename;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }
    }
}
